package chapter11;

/**
 * 笔记本
 */
public class Notebook extends RobotBrain{
    public Notebook(){}
    public Notebook(String cpu,int memory){
        super(cpu,memory);
    }
    public void show(){
        System.out.println("这是一台搭载了"+ getCpu() +"的电脑 "+"   有" + getMemory()+"G  内存");
    }
    public void feature(){
        System.out.println("随时随地办公，玩游戏");
    }
}
